home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 9 / Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO / 006a / newprot2.zip / PROTOCOL.CTL next >
Text File  |  1993-03-04  |  8KB  |  212 lines

  1. % ------------
  2. % PROTOCOL.CTL   ..a replacement to include various new protocols.
  3. % ------------     from the archive NEWPROT2.ARJ, by Gary M. Gilmore
  4. %                  FidoNet: 1:2410/400 - Internet: afcgaryg@aol.com
  5. %
  6. % This file is used to define external protocols usable with Max 2.1wb.
  7. %
  8. % Be SURE that the comment "Include Protocol.Ctl" is in the bottom of
  9. % your MAX.CTL file, or this file will NOT be processed when you re-Silt!
  10. % D/GSZ must be in your \MAX directory.
  11. %
  12. % If you're using a locked baud rate other than 38400, THESE PROTOCOL ENTRIES 
  13. % WILL NEED TO BE MODIFIED.  You should replace all "38400"'s in this file
  14. % with your locked baud rate (such as 19200 or 38400).
  15. % If you are _NOT_ running with locked baud rate, replace the "38400"'s 
  16. % with "%W"'s.  Failure to do so will not only cause these protocols to barf,
  17. % it'll make you look like a boob.
  18. %
  19. % Also, if you're running 4DOS (or any other alternate shell), you
  20. % should replace all occurences of "command.com" with the name of
  21. % your shell (such as 4dos.com).  Failure to do this may cause erratic
  22. % results when calling external protocols.
  23. %
  24. % NOTE!  You must create the following RDSZ.BAT in your Max directory
  25. % to ensure that DSZ (or GSZ.EXE renamed to "DSZ.EXE") handles transfers
  26. % correctly:
  27. %
  28. %       @echo off
  29. %       set dszlog=%1
  30. %       dsz port %2 speed %3 %4 %5 %6 %7 %8 %9
  31. %       set dszlog=
  32. %
  33. % Without this batch file, protocol logging will not be enabled.
  34. %
  35. % WARNING!  A registered copy of DSZ is required to properly handle
  36. % uploads.  Without a registered copy, uploads will be placed into
  37. % your \MAX directory!
  38.  
  39. % DSZ "Standard" Xmodem.  See the DSZ/GSZ Docs on how to turn on the 
  40. % OverThruster if desired.  I have not tested this feature on my system.
  41.  
  42. Protocol 2Xmodem/DSZ
  43. % ;       Type            Batch
  44. % ;       Type            Errorlevel
  45. % ;       Type            Bi
  46. % ;       Type            Opus
  47.  
  48.           LogFile         DSZ%K.Log
  49.           ControlFile     DSZ%K.Ctl
  50.           DownloadCmd     command.com /c rdsz DSZ%K.Log %P 38400 sx %m
  51.           UploadCmd       command.com /c rdsz DSZ%K.Log %P 38400 rx %m
  52.           DownloadString  %s
  53.           UploadString
  54.           DownloadKeyword S
  55.           UploadKeyword   R
  56.           FilenameWord    10
  57.           DescriptWord    0
  58. End Protocol
  59.  
  60. % Regular Y-Modem, using D/GSZ.  You'll want to offer this for users that 
  61. % don't have Zmodem, and don't have an error-correcting modem.
  62.  
  63. Protocol Ymodem
  64.           Type            Batch
  65.           LogFile         DSZ%K.Log
  66.           ControlFile     DSZ%K.Ctl
  67.           DownloadCmd     command.com /c rdsz DSZ%K.Log %P 38400 ha on sb  @%x:DSZ%K.Ctl
  68.           UploadCmd       command.com /c rdsz DSZ%K.Log %P 38400 ha on rb  %v
  69.           DownloadString  %s
  70.           UploadString
  71.           DownloadKeyword S
  72.           UploadKeyword   R
  73.           FilenameWord    10
  74.           DescriptWord    0
  75. End Protocol
  76.  
  77. Protocol GYmodem-G
  78.           Type            Batch
  79.           LogFile         DSZ%K.Log
  80.           ControlFile     DSZ%K.Ctl
  81.           DownloadCmd     command.com /c rdsz DSZ%K.Log %P 38400 ha on sb -g @%x:DSZ%K.Ctl
  82.           UploadCmd       command.com /c rdsz DSZ%K.Log %P 38400 ha on rb -g %v
  83.           DownloadString  %s
  84.           UploadString
  85.           DownloadKeyword S
  86.           UploadKeyword   R
  87.           FilenameWord    10
  88.           DescriptWord    0
  89. End Protocol
  90.  
  91. % Zmodem-90 MobyTurbo protocol.  To use, place DSZ.EXE or DSZ.COM in your 
  92. % \MAX directory.
  93.  
  94. Protocol DSZ/MobyTurbo
  95.          Type            Batch
  96. %;       Type            Errorlevel
  97. %;       Type            Bi
  98. %;       Type            Opus
  99.  
  100.          LogFile         DSZ%K.Log
  101.          ControlFile     DSZ%K.Ctl
  102.          DownloadCmd     command.com /c rdsz DSZ%K.Log %P 38400 ha both sz -m -Z @%x:DSZ%K.Ctl
  103.          UploadCmd       command.com /c rdsz DSZ%K.Log %P 38400 ha both rz %v
  104.          DownloadString  %s
  105.          UploadString
  106.          DownloadKeyword z
  107.          UploadKeyword   Z
  108.          FilenameWord    10
  109.          DescriptWord    0
  110. End Protocol
  111.  
  112. Protocol Zmodem
  113.           Type            Batch
  114. % ;       Type            Errorlevel
  115. % ;       Type            Bi
  116. % ;       Type            Opus
  117.  
  118.           LogFile         DSZ%K.Log
  119.           ControlFile     DSZ%K.Ctl
  120.           DownloadCmd     command.com /c rdsz DSZ%K.Log %P 38400 ha both sz -m -Z @%x:DSZ%K.Ctl
  121.           UploadCmd       command.com /c rdsz DSZ%K.Log %P 38400 ha both rz %v
  122.           DownloadString  %s
  123.           UploadString
  124.           DownloadKeyword z
  125.           UploadKeyword   Z
  126.           FilenameWord    10
  127.           DescriptWord    0
  128. End Protocol
  129.  
  130. % MPt protocol. (Formerly known as "Puma".)  To use, simply place MPT.EXE
  131. % in your \MAX directory.
  132.  
  133. Protocol MPt/Puma
  134.          Type            Batch
  135.  ;       Type            Errorlevel
  136.  ;       Type            Bi
  137.  ;       Type            Opus
  138.          LogFile         Mpt.Log
  139.          ControlFile     Mpt.Ctl
  140.          DownloadCmd     mpt A+ B- D+ F+ N+ P%P S0 M- W- HF Lmpt.log s @mpt.ctl
  141.          UploadCmd       mpt A+ B- D+ F+ N+ P%P S0 M- W- HF Lmpt.log r %v
  142.          DownloadString  %s
  143.          UploadString
  144.          DownloadKeyword S
  145.          UploadKeyword   R
  146.          FilenameWord    10
  147.          DescriptWord    0
  148. End Protocol
  149.  
  150. % HS/Link, a fast bi-directional protocol.  If you are NOT using DesqView,
  151. % remove the "-I2" and "-NV" switches from both the Up and DownloadCmd lines.
  152. % Put the file HSLINK.EXE into your \MAX directory.
  153.  
  154. Protocol HS/Link
  155.          Type            Batch
  156. %;       Type            Errorlevel
  157.          Type            Bi
  158. %;       Type            Opus
  159.  
  160.          LogFile         c:\max\HSK%K.log
  161.          ControlFile     c:\max\HSK%K.Ctl
  162.          DownloadCmd     command.com /c rhsl C:\Max\HSK%K.log -P%P -b38400 -I2 -NV -E%b -U%V @C:\Max\HSK%K.Ctl
  163.          UploadCmd       command.com /c rhsl C:\Max\HSK%K.Log -P%P -b38400 -I2 -NV -E%b -U%V
  164.          DownloadString  %s
  165.          UploadString
  166.          DownloadKeyword h
  167.          UploadKeyword   H
  168.          FilenameWord    10
  169.          DescriptWord    0
  170. End Protocol
  171.  
  172. %You will also need a batch file called RHSL.BAT in your \MAX directory.
  173. %
  174. %  @echo off
  175. %  c:
  176. %  cd\max
  177. %  set dszlog=%1
  178. %  Hslink %2 %3 %4 %5 %6 %7 %8 %9
  179. %  set Dszlog=
  180.  
  181. % HydraCom Version 1.00 Bi-Directional File Transfer Protocol by
  182. % Arjen G. Lentz, LENTZ SOFTWARE-DEVELOPMENT and Joaquim H. Homrighausen
  183. % Copy the Hydracom.Exe file into your \MAX directory.
  184.  
  185. Protocol -Hydra
  186.     Type            Batch
  187.     Type            Bi
  188.  
  189.     LogFile         Hydra%K.Log
  190.     ControlFile     Hydra%K.Ctl
  191. %   NOTE: Put NOS (nostamp) in the lines below to NOT 
  192. %         retain date/time on received files.
  193.     DownloadCmd     HydraCom.Exe por %P spe %W lin %b dro nor nob res %x:Hydra%K.Log rec %v sen @%x:Hydra%K.Ctl
  194.     UploadCmd       HydraCom.Exe por %P spe %W lin %b dro nor nob res %x:Hydra%K.Log rec %v get
  195.     DownloadString  %s
  196.     UploadString
  197.     DownloadKeyword H
  198.     UploadKeyword   R
  199.     FilenameWord    10
  200.     DescriptWord    0
  201. End Protocol
  202.  
  203. %  Remember!  If *you* have any working protocol setups that are not included 
  204. %  here, please send it to me!  I need:
  205. %
  206. %  - The portion of your PROTOCOL.CTL that contains the protocol's settings.
  207. %  - Any batch files needed to use it.  (or SET commands used)
  208. %  - A copy of the protocol's original archive, including docs.
  209. %
  210. %  I will either include it in a new release of NEWPROTO, or keep it on
  211. %  file here to aid other MAX sysops, should they want the info.  Thanks!
  212.